package com.hlkj.baojin.entity.dto;

import java.util.ArrayList;
import java.util.List;

/**
 * @author HULIN
 * @created with: mbxt_parent
 * @package com.minbaojianguan.model.entity.dto
 * @description:
 * @date 2018/8/7 15:57
 * @modified By:
 * @Copyright © 2018 HAILIANG Info. Tech Ltd. All rights reserved.
 */
public class ModelList<T> {

    private List<T> list;

    private Long count;

    public ModelList() {
        list = new ArrayList<T>();
        count = 0L;
    }

    public ModelList(List<T> list, Long count) {
        this.list = list;
        this.count = count;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }
}
